#ifndef __IMAGELOADERTEST_H__
#define __IMAGELOADERTEST_H__

#include "imageloadertest.h"
#include "../imageloader.h"
#include "../imageset.h"
#include <boost/smart_ptr.hpp>
#include <cppunit/TestFixture.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestSuite.h>
#include <cppunit/extensions/HelperMacros.h>

class ImageLoaderTest : public CppUnit::TestFixture {
	CPPUNIT_TEST_SUITE( ImageLoaderTest );
	CPPUNIT_TEST( testLoadingValid );
	CPPUNIT_TEST( testLoadingInvalid );
	CPPUNIT_TEST( testLoadingMany );
	CPPUNIT_TEST_SUITE_END();

	private:
		cshotel::ImageLoader *imgloader;
		std::vector<std::string> imageNames;
		
		static int imageSetSize(boost::shared_ptr<cshotel::ImageSet> vect);

	public:
		void setUp();
		void tearDown();
		void testLoadingValid();
		void testLoadingInvalid();
		void testLoadingMany();

};

#endif
